﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Koala.Pro.CodeGenerator.UI.DatabaseModel
{
    public class DatabaseSetting
    {
        private string databaseType;

        private string assemblyName;

        private string assemblyType;

        private string connectString;

        public string DatabaseType
        {
            get
            {
                return databaseType;
            }
            set
            {
                databaseType = value;
            }
        }

        public string AssemblyName
        {
            get
            {
                return assemblyName;
            }
            set
            {
                assemblyName = value;
            }
        }

        public string AssemblyType
        {
            get
            {
                return assemblyType;
            }
            set
            {
                assemblyType = value;
            }
        }

        public string ConnectString
        {
            get
            {
                return connectString;
            }
            set
            {
                connectString = value;
            }
        }

        public DatabaseSetting()
        {
        }

        public DatabaseSetting(string databaseType, string assemblyName, string assemblyType, string connectString)
        {
            this.databaseType = databaseType;
            this.assemblyName = assemblyName;
            this.assemblyType = assemblyType;
            this.connectString = connectString;
        }
    }

}
